package com.ungs.dao;

import java.util.List;

import org.hibernate.HibernateException;

@SuppressWarnings("rawtypes")
public interface EntidadDAO {

	public void guardar(Object entidad) throws HibernateException;

	public void actualizar(Object entidad) throws HibernateException;

	public void eliminar(Object entidad) throws HibernateException;

	public Object getById(Class clase, Long id) throws HibernateException;

	public List getAll(Class clase) throws HibernateException;

}
